package com.tanovo.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserRestBo {
    @ApiModelProperty(name="电话号码",notes = "11位的电话")
    @NotBlank(message = "电话号码不能为空")
    private String phone;
    @ApiModelProperty(name="密码",notes = "密码")
    @NotBlank(message = "密码不能为空")
    private String newPassword;
    @ApiModelProperty(name="验证码",notes = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String validCode;
}
